package cn.edu.scau.cmi.dengyu.domain.factory;

public class Accident {
	private String typeName;
	private String contentOfAccident;
	
	public Accident() {
		this(null, null);
	}
	
	public Accident(String typeName, String contentOfAccident) {
		this.typeName = typeName;
		this.contentOfAccident = contentOfAccident;
	}
	
	public String getTypeName() {
		return typeName;
	}
	
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
	public String getContentOfAccident() {
		return contentOfAccident;
	}
	
	public void setContentOfAccident(String contentOfAccident) {
		this.contentOfAccident = contentOfAccident;
	}
}
